﻿using Colorful.Furniture.BackgroundManagement;
using Colorful.Furniture.BackgroundWorkerManagement;
using Colorful.Furniture.BasicDataManagement;
using Colorful.Furniture.EnterpriseManagement;
using Colorful.Furniture.Epplus;
using Colorful.Furniture.ErpCustomerManagement;
using Colorful.Furniture.ErpFinanceManagement;
using Colorful.Furniture.ErpInventoryManagement;
using Colorful.Furniture.ErpSupplierManagement;
using Colorful.Furniture.FreeSql;
using Colorful.Furniture.H5;
using Colorful.Furniture.InterfaceDownstream;
using Colorful.Furniture.InterfaceUpstream;
using Colorful.Furniture.PermissionManagement;
using Colorful.Furniture.StatisticsManagement;
using Colorful.Furniture.SysManagement;
using Colorful.Furniture.UserManagement;
using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.AutoMapper;
using Volo.Abp.Caching.StackExchangeRedis;
using Volo.Abp.Modularity;

namespace Colorful.Furniture;

/// <summary>
///  应用程序模块
/// </summary>
[DependsOn(
    typeof(FurnitureDomainModule),
    typeof(FurnitureApplicationContractsModule),
    typeof(BackgroundModule),
    typeof(AbpAutoMapperModule),
    typeof(BackgroundWorkerManagementModule),
    typeof(AbpCachingStackExchangeRedisModule),
    //业务逻辑模块
    typeof(PermissionManagementModule),
    typeof(UserManagementModule),
    typeof(EnterpriseManagementModule),
    typeof(SupplierManagementModule),
    typeof(InterfaceUpstreamModule),
    typeof(CustomerManagementModule),
    typeof(BasicDataManagementModule),
    typeof(SysManagementModule),
    typeof(FurnitureFreeSqlModule),
    typeof(InventoryManagementModule),
    typeof(StatisticsManagementModule),
    typeof(H5Module),
    typeof(EpplusModule),
    typeof(OrderDownManagementModule),
    typeof(FinanceManagementModule)
)]
public class FurnitureApplicationModule : AbpModule
{
    public override void ConfigureServices(ServiceConfigurationContext context)
    {
        //context.Services.AddControllers()
        //    .AddXmlSerializerFormatters(); // 启用XML序列化支持
        
    }
    
}












